package com.mes.cloud.api.dto.request.position;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 岗位表
 * 
 * @author xy
 * @version 2019-08-03 08:39:11
 * @email yuan.xue3@pactera.com
 */
@Data
public class SysPositionEmployeePageRequest implements Serializable{
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "当前页", required = true)
    @NotNull(message = "currentPage不能为空")
    private int currentPage;

    @ApiModelProperty(value = "每页条数", required = true)
    @NotNull(message = "pageSize不能为空")
    private int pageSize;

    @ApiModelProperty(value = "排序", required = false)
    private String orderBy;

    @ApiModelProperty(value = "岗位ID", required = true)
    @NotNull(message = "positionId不能为空")
    private String positionId;

    @ApiModelProperty(value = "员工名称", required = false)
    private String queryString;
}
